package cn.wuxing.mediation.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import cn.wuxing.mediation.common.annotation.Excel;
import cn.wuxing.mediation.common.core.domain.BaseEntity;

/**
 * 乡镇治理中心对象 ic_township_center
 *
 * @author mediation
 * @date 2024-10-10
 */
public class TownshipCenter extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 乡镇id */
    private Long id;

    /** 乡镇i名称 */
    @Excel(name = "乡镇i名称")
    private String townshipName;

    /** 乡镇i职责 */
    @Excel(name = "乡镇i职责")
    private String townshipResponsibility;

    /** 显示顺序 */
    @Excel(name = "显示顺序")
    private Integer orderNum;

    /** 乡镇i状态（0正常 1停用） */
    @Excel(name = "乡镇i状态", readConverterExp = "0=正常,1=停用")
    private String status;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setTownshipName(String townshipName)
    {
        this.townshipName = townshipName;
    }

    public String getTownshipName()
    {
        return townshipName;
    }
    public void setTownshipResponsibility(String townshipResponsibility)
    {
        this.townshipResponsibility = townshipResponsibility;
    }

    public String getTownshipResponsibility()
    {
        return townshipResponsibility;
    }
    public void setOrderNum(Integer orderNum)
    {
        this.orderNum = orderNum;
    }

    public Integer getOrderNum()
    {
        return orderNum;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("townshipName", getTownshipName())
            .append("townshipResponsibility", getTownshipResponsibility())
            .append("orderNum", getOrderNum())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
